/*
 * @Author: 李振杰
 * @Date: 2025-02-18 19:32:27
 * @LastEditTime: 2025-03-06 15:04:07
 * @LastEditors: @李振杰
 * @Description:
 * @FilePath: \yikai-page\src\router\modules\supplier.ts
 *
 */
export default {
  path: "/supplier",
  redirect: "/supplier/list",
  meta: {
    icon: "ri:information-line",
    // showLink: false,
    title: "供应商管理",
    rank: 10
  },
  children: [
    {
      path: "/supplier/list",
      name: "supplierList",
      component: () => import("@/views/supplier/Index.vue"),
      meta: {
        title: "供应商列表"
      }
    },
    {
      path: "/supplier/add",
      name: "supplierAdd",
      component: () => import("@/views/supplier/AddSupplier.vue"),
      meta: {
        title: "添加信息"
      }
    },
    {
      path: "/supplier/inquiry",
      name: "supplierInquiry",
      component: () => import("@/views/supplier/Inquiry.vue"),
      meta: {
        title: "供应询价"
      }
    },
    {
      path: "/supplier/product",
      name: "productPrice",
      component: () => import("@/views/supplier/ProductPrice.vue"),
      meta: {
        title: "产品报价"
      }
    },
    {
      path: "/supplier/screen",
      name: "screenPrice",
      component: () => import("@/views/supplier/ScreenPrice.vue"),
      meta: {
        title: "筛网询价"
      }
    },
    {
      path: "/supplier/parameterSupport",
      name: "parameterSupport",
      component: () => import("@/views/supplier/ParameterSupport.vue"),
      meta: {
        title: "产品参数支持"
      }
    },
    {
      path: "/supplier/parameter",
      name: "parameter",
      component: () => import("@/views/supplier/Parameter.vue"),
      meta: {
        title: "产品参数"
      }
    },
    {
      path: "/supplier/order",
      name: "orderManage",
      component: () => import("@/views/supplier/OrderManage.vue"),
      meta: {
        title: "订单管理"
      }
    },
    {
      path: "/supplier/purchaseOrder",
      name: "purchaseOrder",
      component: () => import("@/views/supplier/PurchaseOrder.vue"),
      meta: {
        title: "采购订单"
      }
    },
    {
      path: "/supplier/createPurchaseOrder",
      name: "createPurchaseOrder",
      component: () => import("@/views/supplier/CreatePurchaseOrder.vue"),
      meta: {
        title: "创建采购单"
      }
    }
  ]
} satisfies RouteConfigsTable;
